package com.itfreer.power.service.jurisdiction;

import javax.ws.rs.Path;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;
import com.itfreer.power.entity.jurisdiction.DataJurisdictionEntity;

@Component
@Path("/datajurisdiction/")
public class RestDataJurisdictionService extends BaseRestService<DataJurisdictionEntity> {
	
	@Autowired
	private DataJurisdictionService dataJurisdictionManage;

	@Override
	protected BaseService<DataJurisdictionEntity> getService() {
		return dataJurisdictionManage;
	}

	@Override
	protected String getServiceName() {
		return "datajurisdiction";
	}
}
